import { BaseWindow } from "../../../component/window/BaseWindow";
import { ILayer } from "../../../mvc/interfaces/ILayer";
import { ObjCreate } from "../common/ObjCreate";
import { ImagesConst } from "../../resource/ImagesConst";
import { Language } from "../../../../extend/language/Language";
import { GlobalStyle } from "../../../common/global/GlobalStyle";
import { GameConst } from "../../../component/gconst/GameConst";
type int = number;
//class PetIslandPowerIntrPanel
    
    export  class PetIslandPowerIntrPanel extends BaseWindow
    {
        constructor(arg1: ILayer=null)
        {
            super(arg1);
            setSize(525, 225);
            titleHeight = 26;
            return;
        }

        protected /* override */ createDisposedChildrenImpl(): void
        {
            super.createDisposedChildrenImpl();
            pushUIToDisposeVec(ObjCreate.createBg(18, 38, 489, 175, this));
            pushUIToDisposeVec(ObjCreate.createBg(18, 70, 490, 2, this, ImagesConst.SplitLine));
            pushUIToDisposeVec(ObjCreate.createBg(18, 105, 490, 2, this, ImagesConst.SplitLine));
            pushUIToDisposeVec(ObjCreate.createBg(18, 140, 490, 2, this, ImagesConst.SplitLine));
            pushUIToDisposeVec(ObjCreate.createBg(18, 175, 490, 2, this, ImagesConst.SplitLine));
            pushUIToDisposeVec(ObjCreate.createGTextField(Language.getString(28184), 36, 46, 220, 20, this, GlobalStyle._textFormat6));
            pushUIToDisposeVec(ObjCreate.createGTextField(Language.getString(28185), 133, 46, 220, 20, this, GlobalStyle._textFormat6));
            pushUIToDisposeVec(ObjCreate.createGTextField(Language.getString(28186), 271, 46, 220, 20, this, GlobalStyle._textFormat6));
            pushUIToDisposeVec(ObjCreate.createGTextField(Language.getStringByParam(28187, "              ", "         ", "       "), 38, 80, 470, 20, this));
            pushUIToDisposeVec(ObjCreate.createGTextField(Language.getStringByParam(28188, "          ", "         ", "       "), 38, 115, 470, 20, this));
            pushUIToDisposeVec(ObjCreate.createGTextField(Language.getStringByParam(28189, "          ", "                   ", "                 "), 38, 150, 470, 20, this));
            pushUIToDisposeVec(ObjCreate.createGTextField(Language.getStringByParam(28242, "           ", GameConst.RobIslandGuildEliteNum, "                    ", "                        "), 38, 185, 470, 20, this));
            return;
        }

        public /* override */ show(arg1: int=0, arg2: int=0): void
        {
            super.show();
            return;
        }
    }
